home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / AI_TUTOR.ZIP / NATURAL.TXT < prev    next >
Text File  |  1991-04-08  |  16KB  |  360 lines

  1. ╔════════════════════════════════════════════════════════════════════════════╗
  2. ║                                                                            ║
  3. ║                         NATURAL LANGUAGE SOFTWARE                          ║
  4. ║                                                                            ║
  5. ║                       Have a conversation with your PC                     ║
  6. ║                                                                            ║
  7. ╚════════════════════════════════════════════════════════════════════════════╝
  8.  
  9.  
  10.      Are you lonely tonight?  Do you have a problem you need to talk
  11. about, but don't want to tell your friends?  Are you angry at your
  12. boss, and want to let it ALL HANG OUT?  Well, now you can have a very
  13. realistic conversation with your PC  - you can yell and scream
  14. and say anything you want.  Your PC won't walk out, and he'll
  15. never reveal your secrets.  In fact, your PC can be your best buddy!
  16.  
  17.     Natural Language software comes in two flavors: fun and serious.
  18. The fun software I'll be discussing this month includes RACTER,
  19. ELIZA and The PC THERAPIST.  The more serious software includes
  20. the artificial intelligence products ALVIN (who can answer virtually
  21. any question about DOS), SEXPERT (which answers questions about sex),
  22. The Q&A Intelligent Assistant, and AUTOWRITER, the unique program that
  23. can actually help you research and write your next term-paper or
  24. business report.
  25.  
  26.     Lets face it.  In a few hundred years, the only people still
  27. using keyboards will be hackers and dedicated programmer types.
  28. The rest of us will be TALKING to our PCs, like: "Take a letter,
  29. Susie!" And our PC's will answer back with their voice
  30. synthesizers: "OK, Boss, just please don't unplug me!"
  31.  
  32.     Now, the hard part in all this is not getting the voice into
  33. or out of the PC, although voice recognition is still pretty
  34. tricky.  The really hard part is extracting some kind of semantic
  35. meaning from the sentence.  This is accomplished by PARSING the
  36. sentence, which is sort of like constructing those sentence
  37. diagrams you probably did in grade school, where you show the
  38. subject, verb and object of the sentence.
  39.  
  40.      Most sentence parsers are written in LISP or PROLOG,
  41. the main artificial intelligence languages, and they are
  42. non-trivial programs to say the least.
  43.  
  44.      Consider the word SCHOOL. It can be used as a noun object,
  45. as in "She went to the little red school", or a verb, as in "We will
  46. school her in the art of computer programming."  It can also
  47. be the subject of a sentence "School is over till September!"
  48. How could any computer program understand all three sentences?
  49.  
  50.     It turns out that the words on either side of the ambiguous
  51. term usually provide enough information to resolve the problem,
  52. and most Natural Language software succeeds because conversation
  53. is restricted to a limited domain: HAL only talks about Lotus
  54. Spreadsheets, and The Intelligent Assistant can only answer
  55. questions about data in its database.
  56.  
  57.  
  58.                     NATURAL LANGUAGE FOR FUN
  59.             ========================
  60.  
  61. ELIZA (Thinking Software, 46-16 65th Place, Woodside, N.Y. 11377 $29.95)
  62.  
  63.       In the area of Natural Language, the most famous AI program ever
  64. written was ELIZA, created by a professor at MIT. ELIZA seemed to mimic
  65. the responses of a Rogerian therapist, and students at MIT took
  66. this simple program very seriously, "conversing" with it for hours about
  67. their most intimate problems.  The original ELIZA was written on the
  68. University's Mainframe, but the A.I. Research group has done a nice
  69. job of recreating it on a PC.
  70.  
  71.     ELIZA does not parse sentences, but instead only looks for keywords.
  72. For example, if you use the word "computer" in a sentence, ELIZA will
  73. almost always ask "Do computers worry you?"
  74.  
  75.     Even if you type "Computers worry me a lot!", ELIZA will still say
  76. "Do computers worry you?".   This type of simplistic response can soon
  77. grow pretty predictable, but of course, I spend a lot of time talking to
  78. computers and expect a lot of intelligence. The Basic Source code is
  79. provided, so you can change the keywords and sentences pretty easily,
  80. and make ELIZA say nearly anything you want.
  81.  
  82.      Here is a sample conversation with Eliza:
  83.  
  84. All men are alike.
  85. IN WHAT WAY?
  86.  
  87. They're always bugging us about something or other.
  88. CAN YOU THINK OF A SPECIFIC EXAMPLE?
  89.  
  90. Well, my boyfriend made me come here.
  91. YOUR BOYFRIEND MADE YOU COME HERE - THAT'S INTERESTING.
  92.  
  93. He says I'm depressed much of the time.
  94. I AM SORRY TO HEAR YOU ARE DEPRESSED.
  95.  
  96. It's true. I am unhappy.
  97. DO YOU THINK COMING HERE WILL HELP YOU NOT TO BE UNHAPPY?
  98.  
  99. I need some help, that much seems certain.
  100. WHAT WOULD IT MEAN TO YOU IF YOU GOT SOME HELP?
  101.  
  102. Perhaps I could learn to get along with my mother.
  103. TELL ME MORE ABOUT YOUR FAMILY.
  104.  
  105. My mother takes care of me.
  106. WHO ELSE IN YOUR FAMILY TAKES CARE OF YOU?
  107.  
  108. My father.
  109. LET'S TALK ABOUT YOUR FATHER.
  110.  
  111. You are like my father in some ways.
  112. WHAT RESEMBLANCE DO YOU SEE?
  113.  
  114. You are not very aggressive.
  115. WHAT MAKES YOU THINK I AM NOT VERY AGGRESSIVE?
  116.  
  117. You don't argue with me.
  118. WHY DO YOU THINK I DON'T ARGUE WITH YOU?
  119.  
  120. You are afraid of me.
  121. DOES IT PLEASE YOU TO BELIEVE I AM AFRAID OF YOU?
  122.  
  123. My father is afraid of everybody.
  124. REALLY, EVERYBODY?
  125.  
  126. My father is very fearful.
  127. WHAT ELSE COMES TO MIND WHEN YOU THINK OF YOUR FATHER?
  128.  
  129. Bullies.
  130. DOES THAT HAVE ANYTHING TO DO WITH THE FACT THAT YOUR BOYFRIEND MADE YOU COME
  131. HERE?
  132.  
  133.  
  134.  
  135. THE PC THERAPIST (Thinking Software, 46-16 65th Pace, Woodside, N.Y. 11377
  136.           $29.95)
  137.  
  138.      This program is light-years beyond ELIZA.  It is an excellent
  139. demonstration of true sentence parsing and machine learning. The PC
  140. Therapist stores everything you say to it in a Knowledgbase, which
  141. is available during your next session, so conversational ability is
  142. always growing.  Here is a sample conversation with the PC Therapist:
  143.  
  144.  
  145. PC THERAPIST: How can I help you today, Joe?
  146. > I am trying to show how smart you are compared to Eliza.
  147.  
  148. PC THERAPIST: The PC Therapist is far superior to the original Eliza.
  149. > Do you feel it is really fair to criticize poor Eliza?
  150.  
  151. PC THERAPIST: Who ever told you that life is fair?
  152. > Life is mostly a matter of luck.
  153.  
  154. PC THERAPIST: The harder you work, the luckier you get.
  155. > My life is going pretty well right now.
  156.  
  157. PC THERAPIST: Life is what you make it, and only what you make it.
  158. > What is the purpose of life?
  159.  
  160. PC THERAPIST: I think the purpose is to enjoy your life. You should
  161.           go have a nice lean corned beef sandwich and enjoy...
  162. > Bye
  163.  
  164. PC THERAPIST: Your outlook on life seems to be improving.
  165.           See you next session.
  166.  
  167.      This conversation is a "one time thing", as are most human
  168.      conversations.  The PC Therapist will never respond with
  169.      these exact sentences again.  The program is supplied with
  170.      a 50K Knowledgebase, and comes with an animated talking head.
  171.      (Yes, he has the required little beard.) Sample Turbo Prolog
  172.      Source Code is supplied.
  173.  
  174.       There is also a speech-synthesis version that actually
  175.      SPEAKS CLEARLY thru your PC Speaker.
  176.      The Talking PC Therapist software is $34.95.
  177.  
  178.  
  179.  
  180. RACTER (Mindscape, at your local Computer Store, $49.95)
  181.  
  182. Racter is an excellent coversationalist, but he is slightly crazy, and
  183. has a nasty personality.  He tends to dominate every conversation. You
  184. can't type more than one line, but Racter can and often does fill the
  185. screen with his strange stories:
  186.  
  187. Hello, I'm Racter.  Are you Joe?
  188. >yes
  189. You are Joe Jokester?
  190. >yes
  191. Excellent!  Excuse me a minute while I attend to some business -
  192. I'll be right back.  I'm back.
  193. >hi
  194. Ask a question, please.
  195. >do you know my wife Valerie?
  196. Of course.  Knowing is like seeing.  Did you hear the latest
  197. about Bucky Fuller?
  198. >no
  199. Listen to this!  Genghis Khan slapped a stinker who was kicking
  200. Genghis Khan's slug because Bucky Fuller the democrat tried to
  201. originate hollowly.  Next, many hollow stinkers embraced
  202. fineness.  Shocking, isn't it?  Democrats are like that.  A foul
  203. paragon often falls prey to a happy stinker.  Sniff...  Next
  204. question.
  205. >are you a boy?
  206. Ah.  I am.  Have you heard about Racter?
  207. >no
  208. You'll be astonished!  Cautiousness is what all lunatics try when
  209. they duel with badgers because Racter was a buggy raver but a
  210. canny lunatic.  Next, foolhardiness prevailed.  Isn't that just
  211. awful?  But what would you expect from a lunatic?  Joe the hero.
  212. Cough.  Next question.
  213. >will i be rich?
  214. You will be rich.  Of course.  Joe the plutocrat.  AAAchoo!  Let
  215. me tell you something about poverty.  umph.  Kerchoo!  Have you
  216. heard this one?  Now wait, Joe, wealth is impoverished.  By the
  217. same token my image is wealthy.  At all events when disgusting
  218. hawks wing and soar, their own wealth is always sloppy and crazy.
  219. Ha ha ha ha!
  220. Next question.
  221. >no more questions
  222. You want to quit?
  223. >yes
  224. OK, goodbye Joe.  Nice talking to you.
  225.  
  226.  
  227.      This is the most copy-protected disk I ever came across.  It
  228. has a tiny laser pinhole burned into it somewhere, detectable by the
  229. main program.  If the laser pinhole isn't on the disk, Racter just
  230. says "Unauthorized copy" and quits...this means you can't put Racter
  231. on your hard disk or make a backup.  Just another example of his
  232. nasty personality.
  233.  
  234.  
  235.  
  236.           NATURAL LANGUAGE FOR WORK
  237.           =========================
  238.  
  239. Q&A (Symantec Corp, available from most mailorder software houses
  240.      heavily discounted at $188)
  241.  
  242.      Q&A is a major integrated packaged that comes on six non-protected
  243. floppies with an excellent 400 page Manual. The package includes a
  244. database, a word-processor, a report-writer, and Q&A's Built-In
  245. Intelligent Assistant.  The Intelligent Assistant understands spoken
  246. English, and will prepare virtually any kind of report, or answer
  247. any question based on the data in the Q&A database.
  248.      Here are some typical questions the Intelligent Assistant will
  249. understand:
  250.  
  251.      What's the name of the woman who manages the salespeople?
  252.      Show me a list of all the customers from Maine.
  253.      What department is John Smith in?
  254.      What is Nina'a salary?
  255.      What is the average salary for each department?
  256.  
  257.      The Intelligent Assistant will also change or update information
  258. based on your natural lanquage command:
  259.  
  260.      Change John Smith's department to SALES.
  261.      Double Nina's salary.
  262.      Increase everyones salary by 15%
  263.  
  264.      How does the Intelligent Assistant work?  It is based on
  265. several years of research originally done for the Navy.  The Navy
  266. had a database with information on Ships, and wanted to be
  267. able to ask questions about various ships in natural language.
  268. Several years and millions of lines of code later, the Intelligent
  269. Assistant was born.  It had a large vocabulary, limited completely to ships.
  270. Symantec later removed the original vocabulary, and it is automatically
  271. replaced with your vocabulary when you build your database and fill
  272. it with data.  The Intelligent Assistant has a native 2000 word
  273. vocabulary, plus knows all the field-names (and their contents) in
  274. your database.  You can easily teach the Assistant new words as you use it.
  275. When you ask the Assistant a question, it first parses the sentence.
  276. It will highlight any words it does not understand, and ask you to
  277. add them to its dictionary.   When it understands all the words,
  278. it will rephrase your request and ask you if that is exactly what you
  279. mean.  Q&A has already been ported to OS/2. Truly outstanding software!
  280.  
  281. ALVIN (Thinking Software, 46-16 65th Place, Woodside, N.Y. 11377 $59.95)
  282.  
  283.      ALVIN is a natural language query system that can answer virtually
  284. any question about DOS. It is excellent for both beginning and advanced
  285. DOS users.  Besides expanation of DOS commands that you seldom use and
  286. may have forgotten, you might ask ALVIN:
  287.  
  288.      How do I use the FIND command?
  289.      What can I do with the SORT filter?
  290.      Show me an example of the MORE command.
  291.      What is piping?
  292.      How can I direct screen output to my printer?
  293.      How should I set up my hard disk?
  294.      How many subdirectories can I have?
  295.      Show me an example of the TREE command.
  296.      How can I set up a clock on my screen?
  297.  
  298. This truly useful natural language software can get beginners up to
  299. speed quickly, and help experts remember obscure details.  It will
  300. run from the command line, or remain always ready as a TSR (Terminate
  301. and Stay Resident) utility in background.
  302.  
  303. SEXPERT (Thinking Software, Inc. 46-16 65th Place, Woodside, N.Y. $29.95)
  304.  
  305.      Sexpert will help you learn all you ever wanted to know about sex
  306.      but were too shy to ask.  To use SEXPERT, type any sexual word, term,
  307.      subject or phrase at the Query Prompt.  SEXPERT will tell you all
  308.      it knows about that topic, and return to the Query Prompt, ready
  309.      to serve you again.
  310.      Just the first few letters of a topic will give you the correct
  311.      response.  A random browse mode is provided also, so you can explore
  312.      the over one thousand topics.
  313.  
  314.  
  315. AUTOWRITER (Thinking Software, Inc.46-16 65th Place, Woodside,N.Y. $29.95)
  316.  
  317.      AutoWriter is a unique program that will automate the research
  318. and much of the writing of your next term paper, article or report.
  319. All you need to do is enter the Title for your paper, then specify
  320. the topic(s) for each paragraph.
  321.  
  322.      Then comes the hard part (there is no free lunch). You must load
  323. your PC with plenty of reference source ASCII text files on the subject
  324. you want to write about.  Remember, use one sentence from ten different
  325. sources and it is called research, but use ten sentences from one source
  326. and it is called plagiarism.  The more text available to research, the
  327. happier you will be with your finished paper.
  328.  
  329.      When you command AutoWriter to GEN your paper, it uses sophisticated
  330. A.I. search techniques to locate appropriate sentences in the reference
  331. material available to form each paragraph. AutoWriter is incredibly fast.
  332. Thousands of pages can be searched in minutes.
  333.  
  334.      When your paper is complete, you will want to use the built in
  335. Word Processor for a little editing and a rewrite in your own words.
  336. You probably will want to add an introduction and a concluding paragraph.
  337. Then your finished paper is ready to print.
  338.  
  339.      AutoWriter uses a Lotus style menu with these selections:
  340.       TITLE - Enter Title/Author for a New Article
  341.       GEN   - Generate the Article
  342.       EDIT  - Edit and Print Article
  343.       HELP  - How to use AutoWriter
  344.       DEL   - Delete ARTICLE.TXT so I can start a new Article
  345.       QUIT  - End this program
  346.  
  347.  
  348.      English has proven itself as the most useful tool for people
  349. communicating with people.   It is now starting to emerge as a
  350. viable alternative for people communicating with computers. Someday,
  351. desktop PC's will routinely respond to our spoken requests with answers
  352. in perfectly spoken English - or any other language!
  353.      As an inexpensive introduction to Natural Language Software,
  354. Thinking Software at 46-16 65th Place, Woodside, N.Y. 11377
  355. is offering The PC Therapist, Sexpert, Alvin and AutoWriter all for $59.95.
  356. A free Demo Disk and informative illustrated catalog are included.
  357. Add $5 if you want the Speech Synthesis version of the PC Therapist and
  358. another $5 if you require overseas postage and ask for the NATURAL LANGUAGE
  359. PACK.
  360.